package cn.itlight.feign;

import cn.itlight.basic.resultBase;
import cn.itlight.domain.Store;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "store-server")
public interface ProductFeignClient {

    @PostMapping("/store/add")
    resultBase add(@RequestBody Store store);
}